package Bk.basic;

public class J01_Subject {

	public static void main(String[] args) {
		// 1. 변수 선언 및 초기화
		String subjecnum1;
		String subjecname1;
		String subjeclist1;
		String subjecchief1;
		
		String subjecnum2;
		String subjecname2;
		String subjeclist2;
		String subjecchief2;
		
		String subjecnum3;
		String subjecname3;
		String subjeclist3;
		String subjecchief3;
		
		String subjecnum4;
		String subjecname4;
		String subjeclist4;
		String subjecchief4;
		
		subjecnum1 = "0205";
		subjecname1 = "프로그래밍";
		subjeclist1 = "자바 프로그래밍";
		subjecchief1 = "301";
		
		subjecnum2 = "0211";
		subjecname2 = "드레스 코드";
		subjeclist2 = "옷 입기의 기초";
		subjecchief2 = "445";
		
		subjecnum3 = "5029";
		subjecname3 = "생활의 참견";
		subjeclist3 = "음식의 영양";
		subjecchief3 = "556";
		
		subjecnum4 = "4111";
		subjecname4 = "악마의 사도";
		subjeclist4 = "음식의 영양";
		subjecchief4 = "504";
				
		
		// 2. 처리
		
		// 3. 결과 출력
		System.out.println( "과목번호\t과목명\t\t과목개요\t\t담당교수");
		System.out.println( "----------------------------------------------");
		System.out.print(subjecnum1);
		System.out.print( "\t" + subjecname1);
		System.out.print( "\t\t" + subjeclist1);
		System.out.println( "\t" + subjecchief1);
		
		System.out.print(subjecnum2);
		System.out.print( "\t" + subjecname2);
		System.out.print( "\t\t" + subjeclist2);
		System.out.println( "\t" + subjecchief2);
		
		System.out.print(subjecnum3);
		System.out.print( "\t" + subjecname3);
		System.out.print( "\t\t" + subjeclist3);
		System.out.println( "\t\t" + subjecchief3);
		
		System.out.print(subjecnum4);
		System.out.print( "\t" + subjecname4);
		System.out.print( "\t\t" + subjeclist4);
		System.out.println( "\t\t" + subjecchief4);
	}

}
